#ifndef EVALUATEFITNESSJOB_H_
#define EVALUATEFITNESSJOB_H_

#include "../Job.h"
#include "../../Solution/Solution.h"

/** Base class for evaluate fitness jobs.
 */
class EvaluateFitnessJob : public Job
{
    public:
        EvaluateFitnessJob(Solution*);  /**< Constructor requires a solution pointer to work with */ 
        void setFitness(double);        /**< Sets the fitness of the stored solution object       */
        double getFitness();            /**< Returns the fitness of the stored solution object    */
        Solution *getSolution();        /**< Returns a pointer to the stored solution object      */
   
    private:
        double fitness;
        Solution *solution;
};



#endif /*EVALUATEFITNESSJOB_H_*/
